package com.lcxsoft.orderservice.service;

import com.lcxsoft.commonutils.R;
import com.lcxsoft.orderservice.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lcxsoft.orderservice.query.OrderQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcx
 * @since 2022-01-22
 */
public interface OrdersService extends IService<Orders> {

    R findOrders(OrderQuery query);

    R countTodayOrderNumber();

    R countTodayOrderMoney();

    R queryTodayOrderCountByToken(String schoolId);

    R queryTodayOrderMoneyByToken(String schoolId);
}
